
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-Transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <title>Rotaract DLSU</title>
        <meta http-equiv="Content-Type" content="text/html"/>
        <meta name="robots" content="index,follow"/>
        <meta name="distribution" content="global"/>
        <meta name="description" content=""/>
        <meta name="keywords" content=""/>
        <link href="css/style.css" rel="stylesheet" type="text/css" media="screen" />
    </head>
    <body>
        <div id="container2">
            <div id="main2"><br>
                    <center>
                    <div class="login" >
                <table width="100%" cellspacing="0" cellpadding="0">
                    <br/><h4 style="color:white">*List of files:</h4><br/>
                    <tr>
                        
                        <td class="main_nav">
                            
                            <div id="main_text2">
                           
                                <?php
                                include 'DBLibrary/config.php';
                                include 'DBLibrary/openDB.php';
                                mysql_select_db($dbname);

                                $query3 = "SELECT * FROM rotaract.file";
                                $result = mysql_query($query3);
                                
                                
                                while ($row = mysql_fetch_array($result)) {
                                    echo "<tr><td><a href='download.php?id=" . $row['id'] . "'>" . $row['fileName'] . "</a></td>";
                                }
                                include 'DBLibrary/closeDB.php';
                                ?>

                            </div>
                        </td>
                    </tr>
                        
                
                </table>
                    </div>
                        </center>
                   
                        </div>
            </div>
        </div>
    </body>
</html>
